#DNSs de claro
#echo nameserver 170.51.255.110 >  /etc/resolv.conf
#echo nameserver 170.51.242.110 >> /etc/resolv.conf

#DNSs de google
echo nameserver 8.8.8.8 >  /etc/resolv.conf
echo nameserver 8.8.8.4 >> /etc/resolv.conf

#puerto del tel
PORT=/dev/ttyO4

#llamo a pppd
/usr/sbin/pppd $PORT 9600 xonxoff updetach defaultroute usepeerdns mru 296 mtu 296 novj novjccomp connect '/usr/sbin/chat -t 6 -s -v "" ATZ OK AT+IFC=1,1 OK AT+CGDCONT=1,\"IP\",\"ba.amx\",\"\",0,0 OK ATDT*99***1# CONNECT \d\c'
